<?php
/**
 * Created by PhpStorm.
 * User: sunzexin
 * Date: 2018/3/4
 * Time: 14:13
 */

namespace App;


use Illuminate\Database\Eloquent\Model;

class DynamicVideo extends Model
{
    // 视频未转码
    const NOT_TRANSCODE = 0;
    // 视频已转吗
    const TRANSCODE = 1;

    // 表名称
    protected $table = 'dynamic_video';
    // 开启自动时间戳
    public $timestamps = true;
    // 日期都存储为时间戳
    protected $dateFormat = 'U';
}